From: Keir Fraser Date: Fri, 7 Aug 2009 16:29:50 +0000 (+0100) Subject: x86: Increase default max CPUs to 64. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13503 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=b37f409100885140ce407c5ada15287f2b6b26e8;p=xen.git x86: Increase default max CPUs to 64. Also remove compile-time limit of 32 for i386. It is no longer required, since a cpumask was moved out of struct page_info. Signed-off-by: Wei Gang Signed-off-by: Keir Fraser --- diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h index 592f257072..ef79b122b2 100644 --- a/xen/include/asm-x86/config.h +++ b/xen/include/asm-x86/config.h @@ -49,13 +49,10 @@ #ifdef MAX_PHYS_CPUS #define NR_CPUS MAX_PHYS_CPUS #else -#define NR_CPUS 32 +#define NR_CPUS 64 #endif #ifdef __i386__ -#if NR_CPUS > 32 -#error "Maximum of 32 physical processors supported by Xen on x86_32" -#endif /* Maximum number of virtual CPUs in multi-processor guests. */ #define MAX_VIRT_CPUS XEN_LEGACY_MAX_VCPUS #endif